<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%String base = request.getContextPath();%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="js/jquery-1.6.min.js"></script>
<script type="text/javascript">
function dosubmit(){
	var userName = $("#loginInfoDTOUserName").val();
	var array = ["童飞","王利","谢冰","陈祚坤","孔卫佳","岳振庭","刘健","付亮","元景明","刘凯进","何礼根","周正勇","傅强","张均","王少辉","王嗣玮","吴安平","王兵","姜智文","黄斌","刘秋霞","李鹏","黄龙其","王俐","彭杰文","吴恒","黄平强","寇建杰","王惠","李月","熊春花","谭仁棕"];
	var temp = true;
	$(array).each(function(){
		if(userName==this){
			temp =false;
		}
	});
	if(temp){
		alert("请使用真实中文名称");
		return;
	}
	$("#queryForm").submit();
}


</script>
</head>
<body>
	<form method="post" id="queryForm" name="queryForm" action="<%=base%>/login!doLogin">
		userName:<input type="text" id="loginInfoDTOUserName" name="loginInfoDTO.userName" value=""></input>
		<br>
		<input type="button" onclick="dosubmit()" value="登陆">	
	</form>
</body>
</html>
